a = int(input())
b = int(input())
c = int(input())
nums = [a, b, c]
nums.sort()
for num in nums:
    print(num)